<!--
 * @Descripttion: 链接
 * @version: V1.0
 * @Author: GW
 * @Date: 2021-09-11 08:40:23
 * @LastEditors: GW
 * @LastEditTime: 2021-09-27 09:46:39
-->
<template>
    <section class="edit-wrapper">
        <p>链接名称</p>
        <a-input v-model="data.title" maxLength="16"></a-input>
        <a-divider></a-divider>
        <p>链接地址</p>
        <a-input placeholder="http://www.abc.com" v-model="data.text" maxLength="200"></a-input>
    </section>
</template>

<script>
export default {
    props: {
        data: {
            type: Object,
            default: {}
        },
    }
}
</script>

<style lang="less" scoped>
    .edit-wrapper {
        padding: 10px 10px 28px;
        .onresize {
            resize: none;
        }
    }
</style>